package com.gsnd.gsnd22estore.service;

import com.gsnd.gsnd22estore.domain.EsShopcar;
import com.gsnd.gsnd22estore.dto.ShopCarInfoDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ShopCarService {
    List<ShopCarInfoDTO> getShopCarByUser(Integer userId);

    //void removeShopCar(@Param("ids") List<Integer> ids);
    void removeShopCar(List<Integer> ids);
    void addBookToShopCar(EsShopcar shopCar);

    void exitBookNum(EsShopcar shopCar);


}
